package com.dy.service;

import com.dy.bean.Sugar;
import com.dy.bean.SugarTwo;
import com.dy.dao.SuagrDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @projectName: day0613
 * @package: com.dy.service
 * @className: SuagrServiceImpl
 * @author: DuanYu
 * @description: TODO
 * @date: 2024/6/13 19:08
 * @version: 1.0
 */
@Service

public class SuagrServiceImpl implements SuagrService {
    @Autowired
    SuagrDao suagrDao;
    @Override
    public List<Sugar> showYd() {
        return suagrDao.showYd();
    }

    @Override
    public List<Sugar> showXd() {
        return suagrDao.showXd();
    }

    @Override
    public List<SugarTwo> showJg() {
        return suagrDao.showJg();
    }
}
